.registerContainer {
  min-height: 100vh;
  background: url('../../../public/login_bg\(1\).png') no-repeat center center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
}


.logoContainer {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  margin-bottom: 10px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heartHands {
  width: 40px;
  height: 40px;
  position: relative;

  &::before,
  &::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #4A90E2;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
  }

  &::before {
    left: 0;
    top: 0;
  }

  &::after {
    right: 0;
    top: 0;
    transform: rotate(45deg);
  }
}

.formContainer {
  position: absolute;
  z-index: 2;
  width: 350px;
  max-width: 400px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 17%;
}

.formCard {
  background: white;
  border-radius: 5px;
  padding: 40px 30px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.inputGroup {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 0 15px;
  border: 2px solid transparent;

  &:focus-within {
    border-color: #4A90E2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  }
}

.inputIcon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: #6c757d;
  flex-shrink: 0;

  svg {
    width: 100%;
    height: 100%;
  }
}

.input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px 0;
  font-size: 16px;
  color: #333;
  outline: none;

  &::placeholder {
    color: #adb5bd;
  }
}

.verificationBtn {
  background: #4A90E2;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 10px;

  &:hover {
    background: #357abd;
    transform: translateY(-1px);
  }

  &:active {
    transform: translateY(0);
  }

  &:active {
  }
}

.eyeBtn {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
  border-radius: 4px;

  &:hover {
    color: #4A90E2;
    background: rgba(74, 144, 226, 0.1);
  }

  svg {
    width: 20px;
    height: 20px;
  }
}

.optionalText {
  color: #6c757d;
  font-size: 14px;
  margin-left: 10px;
  white-space: nowrap;
}

.registerBtn {
  width: 100%;
  background: #4A90E2;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;

  &:hover:not(:disabled) {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
  }

  &:active:not(:disabled) {
    transform: translateY(0);
  }

  &:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
  }
}

// 响应式设计
@media (max-width: 480px) {
  .registerContainer {
    padding: 0 15px;
  }

  .formCard {
    padding: 30px 20px;
  }

  .logo {
    width: 70px;
    height: 70px;
  }

  .heartHands {
    width: 35px;
    height: 35px;
  }

  .input {
    font-size: 16px;
    padding: 12px 0;
  }

  .verificationBtn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .registerBtn {
    padding: 14px;
    font-size: 16px;
  }
}

.bottomContainer {
  width: 80%;
  position: absolute;
  bottom: 14.8%;
  left: 10%;
  right: 0;
}

// 动画效果
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bottomImg{
  margin-left: -15px;
  width: 340px;
}